<!--
 * @Author: luosi 1297957337@qq.com
 * @Date: 2024-11-27 17:17:57
 * @LastEditors: wangshuixin 2412658453@qq.com
 * @LastEditTime: 2025-01-03 17:19:38
 * @FilePath: \sr_system_manager_ui\src\components\ScrollTabs\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="mb-[15px]">
    <x-scroll-tabs v-bind="$attrs" :tabs="props.tabs" :label="props.label" :value="props.value" :active="props.active"></x-scroll-tabs>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  tabs: {
    type: Array,
    default: () => []
  },
  label: {
    type: String,
    default: 'name'
  },
  value: {
    type: String,
    default: 'id'
  },
  active: {
    type: Number,
    default: 10
  }
})
</script>
